package com.yhn.init.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yhn.init.model.dto.purchase.PurchaseAddRequest;
import com.yhn.init.model.entity.Purchase;

/**
 * 采购清单接口
 *
 * @author yhnyhn123
 * @description 针对表【purchase】的数据库操作Service
 * @createDate 2024-03-22 09:49:49
 */
public interface PurchaseService extends IService<Purchase> {

    /**
     * 新增采购请求
     *
     * @param purchaseAddRequest 新增采购请求
     * @return 新生成的采购请求ID
     */
    Long addPurchase(PurchaseAddRequest purchaseAddRequest);
}
